home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Extras / IFF / IFF_Forms / ANBM.doc < prev    next >
Encoding:
Text File  |  1993-03-01  |  2.9 KB  |  88 lines

  1. Animated bitmap form (Framer, Deluxe Video)
  2.  
  3. TITLE:  Form ANBM (animated bitmap form used by Framer, Deluxe Video) 
  4.  
  5. (note from the author) 
  6.   
  7.    The format was designed for simplicity at a time when the IFF  
  8. standard was very new and strange to us all.  It was not designed 
  9. to be a general purpose animation format.  It was intended to be 
  10. a private format for use by DVideo, with the hope that a more  
  11. powerful format would emerge as the Amiga became more popular. 
  12.   
  13.    I hope you will publish this format so that other formats will 
  14. not inadvertantly conflict with it. 
  15.   
  16. PURPOSE:  To define simple animated bitmaps for use in DeluxeVideo. 
  17.   
  18.    In Deluxe Video objects appear and move in the foreground 
  19. with a picture in the background.  Objects are "small" bitmaps 
  20. usually saved as brushes from DeluxePaint and pictures are large 
  21. full screen bitmaps saved as files from DeluxePaint.   
  22.     
  23.    Two new chunk headers are defined: ANBM and FSQN. 
  24.   
  25.    An animated bitmap (ANBM) is a series of bitmaps of the same  
  26. size and depth.  Each bitmap in the series is called a frame and 
  27. is labeled by a character, 'a b c ...' in the order they 
  28. appear in the file. 
  29.   
  30.    The frame sequence chunk (FSQN) specifies the playback 
  31. sequence of the individual bitmaps to achieve animation.   
  32. FSQN_CYCLE and FSQN_TOFRO specify two algorithmic sequences.  If  
  33. neither of these bits is set, an arbitrary sequence can be used 
  34. instead. 
  35.   
  36.   
  37.     ANBM         - identifies this file as an animated bitmap 
  38.     .FSQN        - playback sequence information 
  39.     .LIST ILBM   - LIST allows following ILBMs to share properties 
  40.     ..PROP ILBM  - properties follow 
  41.     ...BMHD      - bitmap header defines common size and depth 
  42.     ...CMAP      - colormap defines common colors 
  43.     ..FORM ILBM  - first frame follows  
  44.     ..BODY       - the first frame 
  45.        .         - FORM ILBM and BODY for each remaining frame 
  46.        . 
  47.        . 
  48.   
  49. Chunk Description: 
  50.   
  51.    The ANBM chunk identifes this file as an animated bitmap 
  52.   
  53. Chunk Spec:   
  54.     
  55.    #define ANBM    MakeID('A','N','B','M') 
  56.   
  57. Disk record:   
  58.   
  59.    none 
  60.   
  61. Chunk Description: 
  62.   
  63.    The FSQN chunk specifies the frame playback sequence 
  64.   
  65. Chunk Spec: 
  66.   
  67.    #define FSQN    MakeID('F','S','Q','N') 
  68.   
  69.    /* Flags */ 
  70.    #define FSQN_CYCLE  0x0001  /* Ignore sequence, cycle a,b,..y,z,a,b,.. */ 
  71.    #define FSQN_TOFRO  0x0002  /* Ignore sequence, cycle a,b,..y,z,y,..a,b, */ 
  72.    /* Disk record */ 
  73.    typedef struct { 
  74.        WORD numframes;      /* Number of frames in the sequence */ 
  75.        LONG dt;             /* Nominal time between frames in jiffies */ 
  76.        WORDBITS flags;      /* Bits modify behavior of the animation */ 
  77.        UBYTE sequence[80];  /* string of 'a'..'z' specifying sequence */ 
  78.        } FrameSeqn; 
  79.   
  80.   
  81. Supporting Software: 
  82.   
  83.    DeluxeVideo by Mike Posehn and Tom Case for Electronic Arts 
  84.   
  85.   
  86. Thanks, 
  87.    Mike Posehn
  88.